home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Archive Magazine CD 1995
/
Archive Magazine CD 1995.iso
/
discs
/
shareware
/
share_41
/
assembler
/
!readme
Wrap
Text File
|
1991-05-09
|
2KB
|
59 lines
!Assemble
The purpose of this program was to allow short assembly
language routines to be demonstrated all within the desktop
environment and without resorting to the BASIC headers that
the inbuilt assembler requires.
Load !Assemble and click on the icon to open the control
window.
Text files containing assembly language statements can be
created in !Edit and saved to disc. Dropping them onto
!Assemble causes them to be assembled. If there are syntax
errors these will be reported together with the error line
number.
Once assembled data can be entered into the writable data
icons. Clicking on GO causes the code to be executed. The
data icons are then updated to reflect any results.
When the code is executed the following registers have been
set
r1 stores the address of number 1
r2 stores the address of number 2
r3 stores the address of number 3
r4 stores the address of text 1
r5 stores the address of text 2
Two labels block1 and block2 each give access to 10000 bytes
of storage if the program needs storage space outside
registers and the data areas.
The code itself can contain up to around 1900 bytes which
should be more than adequate.
The numbers follow the normal 32 bit 2's complement rules.
The text can be up to 200 characters in length and is
automatically terminated with a control code.
The enclosed examples should help to indicate the operation.
This was written rather hurriedly to meet a specific need so
may contain errors but it seems to work OK
The system operates by adding the normal (BASIC) assembler
directives to the start and the end of the code file together
with some initialising code and then using the overlay
facility of BASIC to incorporate this file for assembly.
Since the intermediate files are stored on disc within the
application assembly can only take access if there is write
access to the application. This explains the extensive disc
activity before assembly. To increase speed copy the
application to the RAM disc before loading it from RAM.
Any comments and suggestions gratefully received.